
#ifndef _CDIVIDER_H_
#define _CDIVIDER_H_

#include "IObserver.h"
#include "CSubject.h"
#include <string>


using namespace std;


class CDivider : public IObserver
{
    public:
        CDivider(CSubject* theSubject, string theOberserverName);
        virtual ~CDivider();

    public:
        void update();
        void setDivisor(int theValue);
    
    private:
        int myDivisor;
};

#endif /* _CDIVIDER_H_ */
